package net.thxjj.sitermodel;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Device {
    private String deviceId;
    private String deviceName;
	@JsonInclude(JsonInclude.Include.NON_NULL)
    private String imei;
	private String prodKey;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String imsi;
	private Long createTime;
	private Long onlineAt;
	private Long offlineAt;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long deviceStatus;
	private Long netStatus;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String firmwareVersion;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String hardwareVersion;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long heartTime;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String ctrlKey;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String bindKey;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String ssid;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String mac;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String remoteIp;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long rssi;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Long isGateway;
	private String imageUrl;
	private Long owned;
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String platform;
}
